package com.s4j.struts.biz.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

/**
 * 绝对记分方法
 * @author Administrator
 *
 */
@Entity
@Table(name="BIZ_MG_MARK")
public class BizMgMark {

	private Long markId;
	
	private PatientDoc patient;
	
	private Integer eyeDL;	//眼睑下垂左眼  1:11-1点	2:10-2点		3:9-3点	4:8-4点	5:7-5点
	
	private Integer eyeDR;	//眼睑下垂右眼  1:11-1点	2:10-2点		3:9-3点	4:8-4点	5:7-5点
	
	private Integer eyeUL;	//上睑疲劳左眼  1:>60	2:31-60	3:16-30	4:6-15	5:<=15
	
	private Integer eyeUR;	//上睑疲劳右眼   1:>60	2:31-60	3:16-30	4:6-15	5:<=15
	
	private Integer eyeBL;	//眼球活动受限  左眼  1:L<=2毫米，无复视	2:L<=4毫米，有复视	3:4<L<=8毫米	4:8<L<=12毫米	5:12毫米<L
	
	private Integer eyeBR;	//眼球活动受限  右眼  1:L<=2毫米，无复视	2:L<=4毫米，有复视	3:4<L<=8毫米	4:8<L<=12毫米	5:12毫米<L
	
	private Integer limbUL;	//左上肢肌无力	1:>120    2:61-120    3:31-60    4:11-30    5:0-10
	
	private Integer limbUR;	//右上肢肌无力	1:>120    2:61-120    3:31-60    4:11-30    5:0-10
	
	private Integer limbDL;	//左下肢肌无力	1:>120    2:61-120    3:31-60    4:11-30    5:0-10
	
	private Integer limbDR;	//右下肢肌无力	1:>120    2:61-120    3:31-60    4:11-30    5:0-10
	
	private Integer face;	//面肌无力	1:正常    2:闭目力稍差，埋睫征不全    3:闭目力差，能勉强合上眼睑，埋睫征消失    4:闭目不能，鼓腮漏气   5:噘嘴不能，面具样面容
	
	/*
	 * 1能正常进食    2进普食后疲劳，进食时间延长，但不影响每次进食量    3进普食后疲劳，进食时间延长，已影响每次进食量    
	 * 4不能进普食，只能进半流量    5鼻饲管进食
	*/
	private Integer mouth;	//咀嚼、吞咽肌无力	
	
	/*
	 * 1正常    2轻微活动时气短    3平地行走时气短    4静坐时气短    5人工辅助呼吸
	 */
	private Integer breat;	//呼吸肌无力

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	public Long getMarkId() {
		return markId;
	}

	public void setMarkId(Long markId) {
		this.markId = markId;
	}

	@OneToOne  
    @JoinColumn(name="patientId",insertable=true,unique=true)
	public PatientDoc getPatient() {
		return patient;
	}

	public void setPatient(PatientDoc patient) {
		this.patient = patient;
	}

	@Column(precision=2)
	public Integer getEyeUL() {
		return eyeUL;
	}

	public void setEyeUL(Integer eyeUL) {
		this.eyeUL = eyeUL;
	}

	@Column(precision=2)
	public Integer getEyeUR() {
		return eyeUR;
	}

	public void setEyeUR(Integer eyeUR) {
		this.eyeUR = eyeUR;
	}

	@Column(precision=2)
	public Integer getEyeDL() {
		return eyeDL;
	}

	public void setEyeDL(Integer eyeDL) {
		this.eyeDL = eyeDL;
	}

	@Column(precision=2)
	public Integer getEyeDR() {
		return eyeDR;
	}

	public void setEyeDR(Integer eyeDR) {
		this.eyeDR = eyeDR;
	}

	@Column(precision=2)
	public Integer getEyeBL() {
		return eyeBL;
	}

	public void setEyeBL(Integer eyeBL) {
		this.eyeBL = eyeBL;
	}

	@Column(precision=2)
	public Integer getEyeBR() {
		return eyeBR;
	}

	public void setEyeBR(Integer eyeBR) {
		this.eyeBR = eyeBR;
	}

	@Column(precision=2)
	public Integer getLimbUL() {
		return limbUL;
	}

	public void setLimbUL(Integer limbUL) {
		this.limbUL = limbUL;
	}

	@Column(precision=2)
	public Integer getLimbUR() {
		return limbUR;
	}

	public void setLimbUR(Integer limbUR) {
		this.limbUR = limbUR;
	}

	@Column(precision=2)
	public Integer getLimbDL() {
		return limbDL;
	}

	public void setLimbDL(Integer limbDL) {
		this.limbDL = limbDL;
	}

	@Column(precision=2)
	public Integer getLimbDR() {
		return limbDR;
	}

	public void setLimbDR(Integer limbDR) {
		this.limbDR = limbDR;
	}

	@Column(precision=2)
	public Integer getFace() {
		return face;
	}

	public void setFace(Integer face) {
		this.face = face;
	}

	@Column(precision=2)
	public Integer getMouth() {
		return mouth;
	}

	public void setMouth(Integer mouth) {
		this.mouth = mouth;
	}

	@Column(precision=2)
	public Integer getBreat() {
		return breat;
	}

	public void setBreat(Integer breat) {
		this.breat = breat;
	}
}
